package cn.smbms.mapper;

import cn.smbms.pojo.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProviderMapper {
    List<Provider> findProviderList(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("queryProName") String queryProName, @Param("queryProCode") String queryProCode);

    Integer findCount(@Param("queryProName") String queryProName, @Param("queryProCode") String queryProCode);

    int addProvider(Provider provider);
}
